package com.tengfei.gulishop.member.feign;

import com.tengfei.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author feige
 * @version v1.0
 * @date 2022-07-13-9:45
 * @description
 */

/**
 * 需要远程调用coupon服务
 */
@FeignClient("gulishop-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/remote")
    R<List<Integer>> remote();

}
